package org.feng.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.feng.base.entity.BaseEntity;

import java.io.Serializable;

/**
 * <p>
 * 数据源
 * </p>
 *
 * @author feng
 * @since 2022-03-16
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("sys_datasource")
public class Datasource extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableField("name")
    private String name;
    @TableField("url")
    private String url;
    @TableField("driver_class")
    private String driverClass;
    @TableField("username")
    private String username;
    @TableField("password")
    private String password;
    @TableField("remark")
    private String remark;
}
